*********************************
*	Author: Rithika Kumar	    *
*   Table H2 (Appendix)         * 
*********************************


** Set working directory to "JOP Replication files" folder

use "DATA FILES TO SHARE/data_for_analysis_RK_controls.dta",clear


***label vars

label var mig_dummy "Migrant Status"
label var edu1 "Illiterate"
label var edu2 "Primary"
label var edu3 "Secondary"
label var edu4 "High School"
label var edu5 "College or higher"
label var cc1 "General/Forward"
label var cc2 "OBC/BC I"
label var cc3 "EBC/BC II"
label var cc4 "SC"
label var cc5 "ST"
label var hi1 "Cultivated Land"
label var hi2 "Agriculture Labour"
label var hi3 "Non-Agri/ Daily wage labour"
label var hi4 "Small Shope/ small business"
label var hi5 "Salaried employment"
label var hi6 "Government Job"
label var hi7 "Unemployed"
label var rel1 "Hindu"
label var rel2 "Muslim"
label var rel3 "Christian"
label var rel4 "Other"
label var joint_fam_correct "Joint Family"
label var older_male_mem "Older male members"
label var older_female_mem "Older female members"
label var agri_land_own_acre "Agriculture Land Owned (in acres)"
label var children_son "Sons"
label var children_daughter "Daughters"
label var housewife "Housewife"
label var pp_civic_jeevika "JEEViKA Member"
 

balancetable mig_dummy edu1 edu2 edu3 edu4 edu5  rel1 rel2 rel3 rel4 cc1 cc2 cc3 cc4 cc5 hi1 hi2 hi3 hi4 hi5 hi6 hi7  joint_fam_correct agri_land_own_acre housewife pp_civic_jeevika older_male_mem older_female_mem children_son children_daughter using "OUTPUT/TABLES/Table_H2.tex", ctitles("Non-migrant" "Migrant") replace varlabels wide(mean diff)
